<div class="layui-form-item" style="margin-top:20px;">
    <label class="layui-form-label">选择类型</label>
    <div class="layui-input-inline">
        <select id="teacher_type_id" class="layui-input" style="width:230px;display:block;">
            <option value="">请选择</option>
            <option th:each="item:${type_list}"
                    th:value="${item.id}"
                    th:text="${item.type_name}">
            </option>
        </select>
    </div>
    <label class="layui-form-label">选择老师</label>
    <div class="layui-input-inline">
        <select id="teacher_id" class="layui-input" style="width:230px;display:block;">
            <option value="">请选择</option>
            <option th:each="item:${teacher_list}"
                    th:value="${item.id}"
                    th:text="${item.user_name+'('+item.login_name+')'}">
            </option>
        </select>
    </div>
</div>
<div class="layui-field-box" style="margin-top: 10px;">
    <table class="site-table table-hover">
        <thead>
        <tr>
            <th style="width: 100px;">名称</th>
            <th>类型</th>
            <th style="width: 150px;">创建时间</th>
            <th style="width: 150px;">操作<input id="teacher_del_id" type="hidden" value=""></th>
        </tr>
        </thead>
        <tbody id="grade_teacher_list">
        <tr th:each="item:${grade_teacher_list}">
            <td th:text="${item.user_name}">Beginner</td>
            <td th:text="${item.type_name}">Beginner</td>
            <td th:text="${item.create_time}">Beginner</td>
            <td>
                <a href="javascript:;" th:onclick="del_teacher([[${item.id}]])" data-id="1" data-opt="del"
                   class="layui-btn layui-btn-danger layui-btn-mini">删除</a>
            </td>
        </tr>
        </tbody>
    </table>
</div>